#chat {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 50px auto;
    box-shadow: 0 0 5px #999;
    border-radius: 10px;
}

#chat .footerBtn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

#chat input {
    height: 40px;
    line-height: 40px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    outline: none;
}


#outputArea {
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
}

.typingTips {
    display: block;
    padding: 0 15px;
    color: #888;
}

#sendBtn {
    height: 40px;
    line-height: 40px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: #000;
    font-size: 16px;
    color: #fff;
    outline: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}